<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"></meta>
    <title>用户角色列表（授权页面）</title>
    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"> </link>
    <link rel="stylesheet" th:href="@{/static/css/font_eolqem241z66flxr.css}" media="all" > </link>
    <link rel="stylesheet" th:href="@{/static/css/news.css}"  media="all" > </link>
</head>
<body>
<div class="layui-form news_list">
    <blockquote class="layui-elem-quote news_search">
        <div class="layui-inline">
            <a class="layui-btn layui-btn-normal roleAllot_btn">分配角色</a>
        </div>
    </blockquote>
    <form  id="roleid">
        <input  type="hidden" name="id" th:value="${id}"/>
        <table class="layui-table">
            <colgroup>
                <col width="50"></col>
            </colgroup>
            <thead>
            <tr>
                <th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose"></input></th>
                <th>角色id</th>
                <th>角色名称</th>
                <th>角色描述</th>
            </tr>
            </thead>
            <tbody class="news_content1">
            <tr th:each="role:${list}">
                <td>
                    <input name="checked" type="checkbox" lay-skin="primary" th:value="${role.roleid}" lay-filter="choose"></input>
                    <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                        <i class="layui-icon"></i>
                    </div>
                </td>
                <td th:text="${role.roleid}"></td>
                <td th:text="${role.rolename}"></td>
                <td th:text="${role.roledesc}"></td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/static/js/empower.js}"></script>
</body>
</html>